<!DOCTYPE html>
<html>

<head>
    <title>Table Role Playing System</title>
    <meta charset="utf-8" content="text/html;charset=utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
</head>
<style>
    body {
        padding: 0;
        margin: 0;
        border: 0;
        overflow-y: hidden;
        overflow-x: hidden;
    }

    html,
    body {
        height: 100%;
    }

    .loginbody {
        height: 100%;
        display: -ms-flexbox;
        display: -webkit-box;
        display: flex;
        -ms-flex-align: center;
        -ms-flex-pack: center;
        -webkit-box-align: center;
        align-items: center;
        -webkit-box-pack: center;
        justify-content: center;
        padding-top: 40px;
        padding-bottom: 40px;
        background-color: #f5f5f5;
    }

    .form-signin {
        width: 100%;
        max-width: 330px;
        padding: 15px;
        margin: 0 auto;
    }

    .form-signin .checkbox {
        font-weight: 400;
    }

    .form-signin .form-control {
        position: relative;
        box-sizing: border-box;
        height: auto;
        padding: 10px;
        font-size: 16px;
    }

    .form-signin .form-control:focus {
        z-index: 2;
    }

    .form-signin input {
        margin-bottom: 10px;
    }
</style>

<body>
    <div class="text-center loginbody" id="loginbody">
        <div class="form-signin">
            <img class="mb-4" src="https://getbootstrap.com/assets/brand/bootstrap-solid.svg" alt="" width="72" height="72">
            <h1 class="h3 mb-3 font-weight-normal">请登录</h1>
            <input type="text" id="inputUsername" class="form-control" placeholder="你的角色名字" autofocus required>
            <input type="password" id="inputPassword" class="form-control" placeholder="你的角色密码" required>
            <input type="text" id="inputRoom" class="form-control" placeholder="房间暗号" required>
            <label>
                <a href="character.html" id="register">注册</a>
            </label>
            <button class="btn btn-lg btn-primary btn-block" id="loginButton">连接</button>
        </div>
    </div>
    <script src="index.js" charset="utf-8"></script>
</body>

</html>